#include <cstdio>

const float pi = 3.1415927;

int main( )
{
    float a, b, c, t;
    int i, r;
    i = 1;
    while ( scanf("%f%d%f", &c, &r, &t) != EOF && r )
    {
        a = pi * c * r / 63360;
        b = 3600 * a / t;
        printf("Trip #%d: %.2f %.2f\n", i, a, b);
        i++;
    }
    return 0;
}
